home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •The Simulator• / Pharaoh v1.0 ••••• / Pharaoh / Pharaoh.rsrc / CODE_5.txt < prev    next >
Text File  |  1988-04-23  |  4KB  |  80 lines

  1. # near model CODE resource
  2. # jump table entries: 744-744 (1 of them)
  3. export_93:
  4. 00000000  4E56 FE46                link       A6, -0x01BA
  5. 00000004  42A7                     clr.l      -[A7]
  6. 00000006  3F3C 0258                move.w     -[A7], 0x258
  7. 0000000A  486E FF56                pea.l      [A6 - 0xAA]
  8. 0000000E  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  9. 00000014  A97C                     syscall    GetNewDialog
  10. 00000016  201F                     move.l     D0, [A7]+
  11. label00000018:
  12. 00000018  42A7                     clr.l      -[A7]
  13. 0000001A  486E FF54                pea.l      [A6 - 0xAC]
  14. 0000001E  A991                     syscall    ModalDialog
  15. 00000020  0C6E 0002 FF54           cmpi.w     [A6 - 0xAC], 0x2
  16. 00000026  6760                     beq        +0x62 /* 00000088 */
  17. 00000028  0C6E 0001 FF54           cmpi.w     [A6 - 0xAC], 0x1
  18. 0000002E  6656                     bne        +0x58 /* 00000086 */
  19. 00000030  486E FF56                pea.l      [A6 - 0xAA]
  20. 00000034  3F3C 0003                move.w     -[A7], 0x3
  21. 00000038  486E FE4A                pea.l      [A6 - 0x1B6]
  22. 0000003C  486E FE46                pea.l      [A6 - 0x1BA]
  23. 00000040  486E FF4C                pea.l      [A6 - 0xB4]
  24. 00000044  A98D                     syscall    GetDialogItem/GetDItem
  25. 00000046  2F2E FE46                move.l     -[A7], [A6 - 0x1BA]
  26. 0000004A  486E FE4C                pea.l      [A6 - 0x1B4]
  27. 0000004E  A990                     syscall    GetDialogItemText/GetIText
  28. 00000050  486E FE4C                pea.l      [A6 - 0x1B4]
  29. 00000054  4EAD 02B2                jsr        [A5 + 0x2B2 /* export_82 */]
  30. 00000058  584F                     addq.w     A7, 4
  31. 0000005A  486E FE4C                pea.l      [A6 - 0x1B4]
  32. 0000005E  4EAD 00C2                jsr        [A5 + 0xC2 /* export_20 */]
  33. 00000062  584F                     addq.w     A7, 4
  34. 00000064  4A40                     tst.w      D0
  35. 00000066  661C                     bne        +0x1E /* 00000084 */
  36. 00000068  487A 0028                pea.l      [PC + 0x28 /* 00000092, value 0x596F7520 'You ', cstring "You are supposed to be a guru! "... */]
  37. 0000006C  4EAD 0082                jsr        [A5 + 0x82 /* export_12 */]
  38. 00000070  584F                     addq.w     A7, 4
  39. 00000072  486E FF56                pea.l      [A6 - 0xAA]
  40. 00000076  3F3C 0003                move.w     -[A7], 0x3
  41. 0000007A  4267                     clr.w      -[A7]
  42. 0000007C  3F3C 7FFF                move.w     -[A7], 0x7FFF
  43. 00000080  A97E                     syscall    SelectDialogItemText/SelIText
  44. 00000082  6002                     bra        +0x4 /* 00000086 */
  45. label00000084:
  46. 00000084  6002                     bra        +0x4 /* 00000088 */
  47. label00000086:
  48. 00000086  6090                     bra        -0x6E /* 00000018 */
  49. label00000088:
  50. 00000088  486E FF56                pea.l      [A6 - 0xAA]
  51. 0000008C  A982                     syscall    CloseDialog
  52. 0000008E  4E5E                     unlink     A6
  53. 00000090  4E75                     rts
  54. 00000092  596F 7520                subq.w     [A7 + 0x7520], 4
  55. 00000096  6172                     bsr        +0x74 /* 0000010A */
  56. 00000098  6520                     bcs        +0x22 /* 000000BA */
  57. 0000009A  7375                     moveq.l    D1, 0x75
  58. 0000009C  7070                     moveq.l    D0, 0x70
  59. 0000009E  6F73                     ble        +0x75 /* 00000113 */
  60. 000000A0  6564                     bcs        +0x66 /* 00000106 */
  61. 000000A2  2074 6F20 6265           movea.l    A0, [A4 + 0x6265 + D6 * 8]
  62. 000000A8  2061                     movea.l    A0, -[A1]
  63. 000000AA  2067                     movea.l    A0, -[A7]
  64. 000000AC  7572                     moveq.l    D2, 0x72
  65. 000000AE  7521                     moveq.l    D2, 0x21
  66. 000000B0  2020                     move.l     D0, -[A0]
  67. 000000B2  4E6F                     move       A7, USP
  68. 000000B4  7720                     moveq.l    D3, 0x20
  69. 000000B6  646F                     bcc        +0x71 /* 00000127 */
  70. 000000B8  2069 7420                movea.l    A0, [A1 + 0x7420]
  71. // begin alternate branch 000000BA-000000BC
  72. label000000BA:
  73. 000000BA  7420                     moveq.l    D2, 0x20
  74. // end alternate branch 000000BA-000000BC
  75. label000000BA: // (misaligned)
  76. 000000BC  7269                     moveq.l    D1, 0x69
  77. 000000BE  6768                     beq        +0x6A /* 00000128 */
  78. 000000C0  742E                     moveq.l    D2, 0x2E
  79. 000000C2  0000                     .incomplete
  80.